﻿using B.S.RbacData.ErrorCode;
using B.S.RbacData.Read.API.Dtos.Traceabilitys;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.RbacData.Read.API.Applications.Commands.Traceabilitys
{
    /// <summary>
    /// 获取产品信息命令
    /// </summary>
    public class GetProductCommand:IRequest<ApiPaging<GetProductDtos>>
    {

        /// <summary>
        /// 页码
        /// </summary>
        public int  PageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? GoodsName { get; set; } 


        /// <summary>
        /// 生产批次
        /// </summary>

        public string? ProductionBatch { get; set; } 

        /// <summary>
        /// 保质期（天）
        /// </summary>
        public string? ShelfLifeDay { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>


        public string? ProductionLicenseNumber { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
   
        public string? Manufacturer { get; set; }


        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateUserName { get; set; }


        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateUserName { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public string? CreateTime { get; set; }

       

    }
}
